<?php /* Smarty version Smarty-3.1.12, created on 2013-01-15 03:04:41
         compiled from "templates\index_right.html" */ ?>
<?php /*%%SmartyHeaderCode:2134750e991b4afdc74-84463152%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'e7f7865ea2b2cfcf53e82ec61fad738ace511c51' => 
    array (
      0 => 'templates\\index_right.html',
      1 => 1358048453,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '2134750e991b4afdc74-84463152',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.12',
  'unifunc' => 'content_50e991b4d51567_69317662',
  'variables' => 
  array (
    'assign_right' => 0,
    'assign_newstop5' => 0,
    'assign_newstop10' => 0,
    'assign_newtop5' => 0,
    'assign_newtop10' => 0,
    'assign_apprank' => 0,
    'assign_rightapp' => 0,
    'assign_free' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_50e991b4d51567_69317662')) {function content_50e991b4d51567_69317662($_smarty_tpl) {?>                <div id="content_right">
                	<div class="content_app2" style="background:#fff; border:1px solid #dddddd;">
                    	<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["right"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["right"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['name'] = "right";
$_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_right']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['total']);
?>
						<div class="single">
							<a href="/article/view-<?php echo $_smarty_tpl->tpl_vars['assign_right']->value[$_smarty_tpl->getVariable('smarty')->value['section']['right']['index']]['id'];?>
-1.html" target="_blank"><img src="/images/<?php echo $_smarty_tpl->tpl_vars['assign_right']->value[$_smarty_tpl->getVariable('smarty')->value['section']['right']['index']]['pic'];?>
.png" alt="<?php echo $_smarty_tpl->tpl_vars['assign_right']->value[$_smarty_tpl->getVariable('smarty')->value['section']['right']['index']]['name'];?>
" width="230px" height="100px" /> </a>
                        	<div class="name"><?php echo $_smarty_tpl->tpl_vars['assign_right']->value[$_smarty_tpl->getVariable('smarty')->value['section']['right']['index']]['name'];?>
</div>
                        </div>
						<?php endfor; endif; ?>
                    </div>
                    <div class="content_news">
                    	<div class="name">新闻资讯</div>
                        	<div class="category">苹果新闻</div>
							<div class="more"><a href="article-1-1-0.html" target="_blank">[全部]</a></div>
                            <div class="newslist">
                             <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["n"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["n"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['name'] = "n";
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_newstop5']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['total']);
?>
                        		<li><div class="newsicon"></div><a href="/article/view-<?php echo $_smarty_tpl->tpl_vars['assign_newstop5']->value[$_smarty_tpl->getVariable('smarty')->value['section']['n']['index']]['id'];?>
-1.html" target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['assign_newstop5']->value[$_smarty_tpl->getVariable('smarty')->value['section']['n']['index']]['title'];?>
"><?php echo $_smarty_tpl->tpl_vars['assign_newstop5']->value[$_smarty_tpl->getVariable('smarty')->value['section']['n']['index']]['title'];?>
</a></li>
                            <?php endfor; endif; ?>
                           	</div>
                            <div class="newslist">
                             <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["m"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["m"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['name'] = "m";
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_newstop10']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['total']);
?>
                        		<li><div class="newsicon"></div><a href="/article/view-<?php echo $_smarty_tpl->tpl_vars['assign_newstop10']->value[$_smarty_tpl->getVariable('smarty')->value['section']['n']['index']]['id'];?>
-1.html" target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['assign_newstop10']->value[$_smarty_tpl->getVariable('smarty')->value['section']['n']['index']]['title'];?>
"><?php echo $_smarty_tpl->tpl_vars['assign_newstop10']->value[$_smarty_tpl->getVariable('smarty')->value['section']['n']['index']]['title'];?>
</a></li>
                            <?php endfor; endif; ?>
                           	</div>
                            <div class="category">游戏测评</div>
							<div class="more"><a href="article-1-2-0.html" target="_blank">[全部]</a></div>
                            <div class="newslist">
                             <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["n"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["n"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['name'] = "n";
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_newtop5']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['total']);
?>
                        		<li><div class="newsicon"></div><a href="/article/view-<?php echo $_smarty_tpl->tpl_vars['assign_newtop5']->value[$_smarty_tpl->getVariable('smarty')->value['section']['n']['index']]['id'];?>
-1.html" target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['assign_newtop5']->value[$_smarty_tpl->getVariable('smarty')->value['section']['n']['index']]['title'];?>
"><?php echo $_smarty_tpl->tpl_vars['assign_newtop5']->value[$_smarty_tpl->getVariable('smarty')->value['section']['n']['index']]['title'];?>
</a></li>
                            <?php endfor; endif; ?>
                           	</div>
							<div class="newslist">
                            <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["m"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["m"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['name'] = "m";
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_newtop10']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['total']);
?>
                        		<li><div class="newsicon"></div><a href="/article/view-<?php echo $_smarty_tpl->tpl_vars['assign_newtop10']->value[$_smarty_tpl->getVariable('smarty')->value['section']['n']['index']]['id'];?>
-1.html" target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['assign_newtop10']->value[$_smarty_tpl->getVariable('smarty')->value['section']['n']['index']]['title'];?>
"><?php echo $_smarty_tpl->tpl_vars['assign_newtop10']->value[$_smarty_tpl->getVariable('smarty')->value['section']['n']['index']]['title'];?>
</a></li>
                            <?php endfor; endif; ?>
                           	</div>
                    </div>
                    <div class="content_rank">
                    	<div class="category"><div class="category_name">免费应用排行</div><div class="more"><a href="app_list.php?page=1&id=0&pri=1&ca=&kw=&pre" target="_blank">更多>></a></div></div>
                        	<ul class="top">
							<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["p"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["p"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['name'] = "p";
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_apprank']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['total']);
?>
								<?php if ($_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['num']<4){?>
								<li><a href="/app_list/app-<?php echo $_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['id'];?>
.html" target="_blank"><div class="num1">0<?php echo $_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['num'];?>
</div><div class="icon"><img src="<?php echo $_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['icon'];?>
" width="48px" height="48px" /></div><?php echo $_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['name'];?>
</a></li>
								<?php }elseif($_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['num']<10){?>
								<li><a href="/app_list/app-<?php echo $_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['id'];?>
.html" target="_blank"><div class="num">0<?php echo $_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['num'];?>
</div><div class="icon"><img src="<?php echo $_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['icon'];?>
" width="48px" height="48px" /></div><?php echo $_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['name'];?>
</a></li>
								<?php }else{ ?>
								<li><a href="/app_list/app-<?php echo $_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['id'];?>
.html" target="_blank"><div class="num"><?php echo $_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['num'];?>
</div><div class="icon"><img src="<?php echo $_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['icon'];?>
" width="48px" height="48px" /></div><?php echo $_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['name'];?>
</a></li>
								<?php }?>
							<?php endfor; endif; ?>
                            </ul>
                    	<div class="content_app2">
							<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['name'] = "rightapp";
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_rightapp']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['total']);
?>
                    		<div class="single">
								<a href="/app_list/app-<?php echo $_smarty_tpl->tpl_vars['assign_rightapp']->value[$_smarty_tpl->getVariable('smarty')->value['section']['rightapp']['index']]['id'];?>
.html" target="_blank"><img width="230px" height="100px" src="/images/<?php echo $_smarty_tpl->tpl_vars['assign_rightapp']->value[$_smarty_tpl->getVariable('smarty')->value['section']['rightapp']['index']]['pic'];?>
.png" alt="<?php echo $_smarty_tpl->tpl_vars['assign_rightapp']->value[$_smarty_tpl->getVariable('smarty')->value['section']['rightapp']['index']]['name'];?>
" /></a>
                        		<div class="name"><?php echo $_smarty_tpl->tpl_vars['assign_rightapp']->value[$_smarty_tpl->getVariable('smarty')->value['section']['rightapp']['index']]['name'];?>
</div>
                        	</div>
							<?php endfor; endif; ?>
                    	</div>
                    </div>
                  	<div class="content_rank" style="height:auto;">
                    	<div class="category"><div class="category_name">付费应用排行</div><div class="more"><a href="app_list.php?page=1&id=0&pri=2&ca=&kw=&pre" target="_blank">更多>>></a></div></div>
                        	<ul class="top">
								
								<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['f'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['f']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['f']['name'] = 'f';
$_smarty_tpl->tpl_vars['smarty']->value['section']['f']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_free']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['f']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['f']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['f']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['f']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['f']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['f']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['f']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['f']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['f']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['f']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['f']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['f']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['f']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['f']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['f']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['f']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['f']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['f']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['f']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['f']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['f']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['f']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['f']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['f']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['f']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['f']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['f']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['f']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['f']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['f']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['f']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['f']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['f']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['f']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['f']['total']);
?>
								<?php if ($_smarty_tpl->tpl_vars['assign_free']->value[$_smarty_tpl->getVariable('smarty')->value['section']['f']['index']]['num']<4){?>
								<li><a href="/app_list/app-<?php echo $_smarty_tpl->tpl_vars['assign_free']->value[$_smarty_tpl->getVariable('smarty')->value['section']['f']['index']]['id'];?>
.html" target="_blank"><div class="num1">0<?php echo $_smarty_tpl->tpl_vars['assign_free']->value[$_smarty_tpl->getVariable('smarty')->value['section']['f']['index']]['num'];?>
</div><div class="icon"><img src="<?php echo $_smarty_tpl->tpl_vars['assign_free']->value[$_smarty_tpl->getVariable('smarty')->value['section']['f']['index']]['icon'];?>
" width="48px" height="48px" /></div><?php echo $_smarty_tpl->tpl_vars['assign_free']->value[$_smarty_tpl->getVariable('smarty')->value['section']['f']['index']]['name'];?>
</a></li>
								<?php }elseif($_smarty_tpl->tpl_vars['assign_free']->value[$_smarty_tpl->getVariable('smarty')->value['section']['f']['index']]['num']<10){?>
								<li><a href="/app_list/app-<?php echo $_smarty_tpl->tpl_vars['assign_free']->value[$_smarty_tpl->getVariable('smarty')->value['section']['f']['index']]['id'];?>
.html" target="_blank"><div class="num">0<?php echo $_smarty_tpl->tpl_vars['assign_free']->value[$_smarty_tpl->getVariable('smarty')->value['section']['f']['index']]['num'];?>
</div><div class="icon"><img src="<?php echo $_smarty_tpl->tpl_vars['assign_free']->value[$_smarty_tpl->getVariable('smarty')->value['section']['f']['index']]['icon'];?>
" width="48px" height="48px" /></div><?php echo $_smarty_tpl->tpl_vars['assign_free']->value[$_smarty_tpl->getVariable('smarty')->value['section']['f']['index']]['name'];?>
</a></li>
								<?php }else{ ?>
								<li><a href="/app_list/app-<?php echo $_smarty_tpl->tpl_vars['assign_free']->value[$_smarty_tpl->getVariable('smarty')->value['section']['f']['index']]['id'];?>
.html" target="_blank"><div class="num"><?php echo $_smarty_tpl->tpl_vars['assign_free']->value[$_smarty_tpl->getVariable('smarty')->value['section']['f']['index']]['num'];?>
</div><div class="icon"><img src="<?php echo $_smarty_tpl->tpl_vars['assign_free']->value[$_smarty_tpl->getVariable('smarty')->value['section']['f']['index']]['icon'];?>
" width="48px" height="48px" /></div><?php echo $_smarty_tpl->tpl_vars['assign_free']->value[$_smarty_tpl->getVariable('smarty')->value['section']['f']['index']]['name'];?>
</a></li>
								<?php }?>
								<?php endfor; endif; ?>
                            </ul>
                	</div>
                    <div class="content_intro">
						<div class="title">新手教程</div>
						<div class="intro_main">
							<li>
							<div class="intro_img"><p>入门功能</p></div>
							<dt class="intro_desc"><p>激活iPhone4S|</p><p>123</p><p>123|</p><p>123</p></dt>
							</li>
						</div>
						<div class="intro_main">
							<li>
							<div class="intro_img"><p>装机必备</p></div>
							<dt class="intro_desc"></dt>
							</li>
						</div>
						<div class="intro_main">
							<li>
							<div class="intro_img"><p>越狱破解</p></div>
							<dt class="intro_desc"></dt>
							</li>
						</div>
					</div>
                </div><!--右侧-->
<?php }} ?>